<?php

include_once("db_object.php");

abstract class root_object
{
	protected $DBObj = NULL;

	function __construct()
	{
		$this->DBObj = New DBObject();
	}

	function __destruct()
	{
		unset($this->DBObj);
	}

	abstract function load();
	abstract function save();
	abstract function erase();
}

?>
